//
//  WBStatusToolBar.swift
//  WB
//
//  Created by macssss on 16/7/6.
//  Copyright © 2016年 macssss. All rights reserved.
//

import UIKit

class WBStatusToolBar: UIView {

    //设置模型
    var viewModel: WBStatusViewModel? {
        didSet{
            
            retweeteButton.setTitle(viewModel?.retweetedStr, for: [])
            commentButton.setTitle(viewModel?.commentStr, for: [])
            likeButton.setTitle(viewModel?.likeStr, for: [])
        }
        
    }
   
    
    
    
    //转发
    @IBOutlet weak var commentButton: UIButton!
    //点赞
    @IBOutlet weak var likeButton: UIButton!
    //转发
    @IBOutlet weak var retweeteButton: UIButton!
   

}
